Add "clicked" signal back to columns.
authorJonathan Blandford <jrb@redhat.com>
Tue, 6 Mar 2001 22:23:05 +0000 (22:23 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Tue, 6 Mar 2001 22:23:05 +0000 (22:23 +0000)
Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
Add "clicked" signal back to columns.

* ChangeLog: remove conflict markers.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreeviewcolumn.c

index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 8508ed70a825b37b2340c9be08485437e0becd0e..fda6577955470e3b559a66f0eb67bf37d8fcf394 100644 (file)
@@ -1,3 +1,10 @@
+Tue Mar  6 17:25:07 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_clicked):
+       Add "clicked" signal back to columns.
+
+       * ChangeLog: remove conflict markers.
+
 Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Add animation of activation by, on 
@@ -88,7 +95,6 @@ Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
        parent_class pointer in pixbuf_style_class_init().
        (Will commit the fix to the pixbuf-engine too).
 
->>>>>>> 1.1779
 2001-03-05  Alexander Larsson  <alexl@redhat.com>
 
        * gdk/gdkwindow.h:
index 0f88d5eed122cb6687f439d00257324a24e2ea30..5e0ed462dff828ac28b8bdd21f6be0ddeb175a3b 100644 (file)
@@ -461,7 +461,11 @@ gtk_real_tree_column_clicked (GtkTreeViewColumn *tree_column)
 }
 
 
-
+static void
+gtk_tree_view_column_button_clicked (GtkWidget *widget, gpointer data)
+{
+  g_signal_emit_by_name (G_OBJECT (data), "clicked");
+}
 
 void
 _gtk_tree_view_column_create_button (GtkTreeViewColumn *column)
@@ -483,9 +487,9 @@ _gtk_tree_view_column_create_button (GtkTreeViewColumn *column)
   /* make sure we own a reference to it as well. */
   gtk_widget_set_parent (column->button, GTK_WIDGET (tree_view));
   
-  /*  gtk_signal_connect (GTK_OBJECT (button), "clicked",
-      (GtkSignalFunc) gtk_tree_view_button_clicked,
-      (gpointer) tree_view);*/
+  gtk_signal_connect (GTK_OBJECT (column->button), "clicked",
+                     (GtkSignalFunc) gtk_tree_view_column_button_clicked,
+                     (gpointer) column);
 
   column->alignment = gtk_alignment_new (column->xalign, 0.5, 0.0, 0.0);